home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 1444 < prev    next >
Encoding:
Text File  |  1996-08-05  |  2.6 KB  |  61 lines

  1. Path: fohnix.metronet.com!not-for-mail
  2. From: milam@fohnix.metronet.com (Stan Milam)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Free Pacific C problem
  5. Date: 13 Jan 1996 19:39:35 -0600
  6. Organization: Texas Metronet, Inc  (login info (214/488-2590 - 817/571-0400))
  7. Message-ID: <4d9msn$k9p@fohnix.metronet.com>
  8. References: <4cm906$l8v@news.sas.ab.ca> <tcpnntpd.16.1.6.16.29.54.2781597121.325010@the-fix.sos.on.ca> <30f11e6a.255489216@news.bne.aone.net.au>
  9. NNTP-Posting-Host: fohnix.metronet.com
  10. X-Newsreader: TIN [version 1.2 PL2]
  11.  
  12. Clyde Smith-Stubbs (clyde@hitech.com.au) wrote:
  13. : On Sat,6 Jan 96 16:29:54 -0500, <verneb@the-fix.sos.on.ca> wrote:
  14.  
  15. : >    I have it loaded on my machine too but use TC3 because Pacific is 
  16. : >not a true Ansi C program.  Just as an example the comment lines // 
  17.  
  18. : This is an extension, non-ANSI, yes, but I don't believe there are any
  19. : compilers out there that in their default mode accept only strictly
  20. : conforming ANSI C programs. You'd be surprised how many people believe
  21. : that the // comment feature is *already* part of C. It's certain to be
  22. : added in the next release of the standard - just like function
  23. : prototypes were borrowed from C++.
  24.  
  25. // may be an extension, but what about the things that are missing which are 
  26. necessary for ANSI compliance?  For example, try this program with Pacific C:
  27.  
  28. #include <stdio.h>
  29. #include <stdlib.h>
  30.  
  31. int main( void ) {
  32.  
  33.     printf( "Hello World!\n" );
  34.     return EXIT_SUCCESS;
  35. }
  36.  
  37. Guess what?  It will not even compile.  Seems EXIT_SUCCESS is not defined in
  38. stdlib.h as it should be.  Okay, so I fix this and spend the next hour and a 
  39. half getting it to compile a simple hex dump program.  There are lots of ANSI
  40. functions missing from the library.  
  41.  
  42. : >  This is a Beta model you 
  43. : >know or we'd have had to pay for it.
  44.  
  45. : No it's not - it's a production quality compiler, with a 14 year
  46. : pedigree. It's being given away simply because it's pointless trying
  47. : to *sell* MS-DOS compilers now. The parser, code generator etc. are
  48. : basically the same as our 8086 cross compiler which sells for around
  49. : $1000. 
  50.  
  51. After 14 years seems like it should really be nearer to ANSI than it is.
  52. Especially since you tout it as an ANSI compiler! 
  53.  
  54. : ----
  55. :  Clyde Smith-Stubbs       | HI-TECH Software,       | Voice: +61 7 3300 5011
  56. :  clyde@hitech.com.au      | P.O. Box 103, Alderley, | Fax:   +61 7 3300 5246
  57. : http://www.hitech.com.au  | QLD, 4051, AUSTRALIA.   | BBS:   +61 7 3300 5235
  58. : ----------------------------------------------------------------------------
  59. : FREE! Download our shareware (FREE for noncommercial use) MS-DOS C Compiler!
  60. :              Point your Web browser at http://www.hitech.com.au/
  61.